package com.zxt.smartplatform.service;

import com.zxt.smartplatform.pojo.Category;

import java.util.List;

public interface CategoryService {

    void addCategory(Category category);

    int updateCategory(Category category);

    Category selectById(Long cId);
    //查询所有
    List<Category> selectAllCategories();

    List<Category> selectCategoriesByNameLike(String cName);

    int deleteCategoriesByIds(List<Long> ids);
}
